home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 4 (Reseller)
/
Apple Ref. & Pres. Lib.v4.0.iso
/
5-Fonts & Software
/
HyperCard 1.2.5
/
Help Stacks
/
Help
/
card_84781.txt
< prev
next >
Wrap
Text File
|
1989-09-06
|
2KB
|
105 lines
-- card: 84781 from stack: in
-- bmap block id: 9590
-- flags: 0000
-- background id: 4507
-- name:
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=246 top=177 right=201 bottom=275
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
setCrossReference
go to card id 136452
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=39 top=244 right=268 bottom=126
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Frog jump
----- HyperTalk script -----
on mouseUp
put the userLevel into saveLevel
set the userLevel to 3
if the userLevel < 3 then exit mouseUp
choose lasso tool
click at 442,290 with commandKey -- select the frog
play boing c e f g d c e f g c
set dragSpeed to 400
drag from 442,290 to 385,201
drag from 385,201 to 330,296
drag from 330,296 to 321,136
drag from 321,136 to 198,208
drag from 198,208 to 114,58
drag from 114,58 to 36,296
drag from 36,296 to 199,143
drag from 199,143 to 305,264
drag from 305,264 to 439,183
drag from 439,183 to 442,290
click at 1,1 -- remove the selection
doMenu "Revert"
choose browse tool
set the userLevel to saveLevel
end mouseUp
-- part contents for background part 2
----- text -----
Drag
-- part contents for background part 1
----- text -----
Drag from h, v to h, v [with shiftKey | optionKey | commandKey]
The same as if you had dragged manually. You don't need to click first. Available with any tool. See also the click command.*
Choose line tool
Drag from 100, 200 to 150, 250
choose select tool
drag from 430,280 to 440,290
-- part contents for background part 44
----- text -----
Form
What it does
Examples
-- part contents for background part 43
----- text -----
337,122